package com.cmas.platform.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cmas.platform.domain.Post;
import com.cmas.platform.dto.PostDto;

import java.util.List;


/**
 * @Author su
 * @Date 2023/5/1 21:43
 */
public interface PostFullService extends IService<PostDto> {

    IPage<PostDto> selectPostFullDto(Integer current, Integer size, Post post);

    List<PostDto> selectPostFullDto(List<String> ids);

    IPage<PostDto> selectKeyWordPostFullDto(Integer current, Integer size, Post post);

    IPage<PostDto> getPostFullDto(Integer pageNo, Integer pageSize, Post post);

    PostDto getPostDetail(String id);

    PostDto getPost(String id);

    void reloadPost(Post post);

}
